package com.solo.eggsolo.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.solo.eggsolo.entity.Collect;
import com.solo.eggsolo.mapper.CollectMapper;
import com.solo.eggsolo.service.CollectService;

/**
 * 
 * @author Yu
 *
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class CollectServiceImpl extends BaseServiceImpl<Collect> implements CollectService {
	@Autowired
	private CollectMapper clloectMapper;

	@Override
	public List<Collect> findByName(Integer name) {
		return clloectMapper.findByName(name);
	}
}
